package com.wangp.demo.anno;

/**
 * @author <a href="mailto:wangpeng@i-baby.com" rel="nofollow">wp☠😘✨</a>
 * @version 0.0.1
 * @since 2025/8/24 20:54
 */
public interface IValueChangeTrace {
    void $$_rest_change_value();
    boolean $$_is_change();
    boolean $$_is_in_monitor();
    void $$_monitor();
    void valueChangeCallback(String type, String field, Object oldValue, Object newValue);

    String LOAD_FIELD_NAME = "$$_value_change_monitor_flag";
    String VALUE_CHANGE_FIELD_NAME = "$$_value_change_check_flag";

    String RESET_CHANGE_VALUE_FUNC_NAME = "$$_rest_change_value";
    String IS_CHANGE_FUNC_NAME = "$$_is_change";
    String IS_LOAD_FUNC_NAME = "$$_is_in_monitor";
    String LOAD_FUNC_NAME = "$$_monitor";
    String VALUE_CHANGE_CALLBACK_FUNC_NAME = "valueChangeCallback";
}
